function updateFinalFilter(main, stageToAdd)








end